Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
12 lines (9 loc) · 284 Bytes

7.2.3 - Http/Request->$get.md

File metadata and controls

12 lines (9 loc) · 284 Bytes

Http\Request->$get

Http请求的GET参数,相当于PHP中的$_GET,格式为数组。

// 如:index.php?hello=123
echo $request->get['hello'];

// 获取所有GET参数
var_dump($request->get);

为防止HASH攻击,GET参数最大不允许超过128个